import request from '@/config/request.js';

// 获取通知公告列表
export const noticeList = (params) => request.get('/system/notice/list', params)

// 新增通知公告详情信息
export const noticeAdd = (params) => request.post('/system/notice', params)

// 修改通知公告详情信息
export const noticeModify = (params) => request.put('/system/notice', params)

// 删除通知公告详情信息
export const noticeDelete = (id) => request.delete('/system/notice/' + id)

//吧台列表接口
export const notiBy = (data) => request.get(`/gscloud_platform/platform/barCounter/page`,data)

//吧台根据主键ID查询数据
export const bargetById = (data) => request.get(`/gscloud_platform/platform/barCounter/getById`,data)
// 获取消息通知
export const noticeById = (data) => request.get(`/gscloud_platform/platform/barCounterInvestorMessage/page`,data)
//投资人端吧台详情的商品订单列表
export const sliet = (data) => request.get(`/gscloud_order/bar/barCounterOrder/getOrderItemsByBarCounterId`,data)
//投资人端吧台详情的商品订单列表
export const getOrder = (data) => request.get(`/gscloud_order/bar/barCounterOrder/getOrderByOrderId`,data)